<template>
  <span class="bubble">
    {{num}}
  </span>
</template>
<script>
export default {
  name: 'bubble',
  props: {
    num: Number
  }
}
</script>

<style lang="stylus" scoped>
@import '~styles/variable.stylus';

.bubble {
  display: inline-block;
  padding: 0 5px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  border-radius: 16px;
  font-family: Helvetica;
  font-weight: 700;
  font-size: 10px;
  color: #fff;
  background: linear-gradient(to right, #fc9153, rgb(240, 20, 20));
}
</style>